package com.hbnu.service.impl;

import com.hbnu.domain.UserInfo;
import com.hbnu.mapper.UserMapper;
import com.hbnu.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    public UserInfo findUserByUnameAndUpsw(String uname,String upsw) {
        return userMapper.findUserByUnameAndUpsw(uname,upsw);
    }

}
